package cn.edu.thu.log.read;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Hashtable;

public class LogBufferModified {
	private ArrayList<String> caseIDList;
	private String caseIDString1;
	private ArrayList<Object> activityIDContentList;
	private Hashtable attributeIDContentMap;
	private ArrayList<String> activityIDTagList;
	private String timeStamp;
	public String getLogPath() {
		return logPath;
	}
	public void setLogPath(String logPath) {
		this.logPath = logPath;
	}
	public String getLogName() {
		return logName;
	}
	public void setLogName(String logName) {
		this.logName = logName;
	}
	private HashMap<String,String> keyvalues;
	private String logPath;
	/** fileName */
	private String logName;
	/** config info */
	public LogBufferModified() {
		caseIDList = new ArrayList<String>();
		activityIDContentList = new ArrayList<Object>();
		attributeIDContentMap = new Hashtable();
		activityIDTagList = new ArrayList<String>();
		keyvalues = new HashMap<String,String>();
	}
	public ArrayList<String> getCaseIDList() {
		return caseIDList;
	}
	public void setCaseIDList(ArrayList<String> caseIDList) {
		this.caseIDList = caseIDList;
	}
	public String getCaseIDString() {
		return caseIDString1;
	}
	public void setCaseIDString(String caseIDString1) {
		this.caseIDString1 = caseIDString1;
	}
	public ArrayList<Object> getActivityIDContentList() {
		return activityIDContentList;
	}
	public void setActivityIDContentList(ArrayList<Object> activityIDContentList) {
		this.activityIDContentList = activityIDContentList;
	}
	public Hashtable getAttributeIDContentMap() {
		return attributeIDContentMap;
	}
	public void setAttributeIDContentMap(Hashtable attributeIDContentMap) {
		this.attributeIDContentMap = attributeIDContentMap;
	}
	public ArrayList<String> getActivityIDTagList() {
		return activityIDTagList;
	}
	public void setActivityIDTagList(ArrayList<String> activityIDTagList) {
		this.activityIDTagList = activityIDTagList;
	}
	public String getTimeStamp() {
		return timeStamp;
	}
	public void setTimeStamp(String timeStamp) {
		this.timeStamp = timeStamp;
	}
	public HashMap<String, String> getKeyvalues() {
		return keyvalues;
	}
	public void setKeyvalues(HashMap<String, String> keyvalues) {
		this.keyvalues = keyvalues;
	}
	public void addkeyvalue(String key ,String value ){
		keyvalues.put(key, value);
	}
	public String getContent(String keys) {
		return keyvalues.get(keys);
	}
	
}
